package com.huawei.appmarket.service.appdetail.view.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.huawei.appgallery.foundation.ui.framework.uikit.ContractFragment;
import com.huawei.appmarket.service.appdetail.view.AppNoContentFragmentProtocol;
import o.ewm.h;
import o.ewm.j;

public class AppNoContentFragment extends ContractFragment<AppNoContentFragmentProtocol> {
    private String ˏ;
    private int ॱ;

    public void ˏ(Bundle bundle) {
        super.ˏ(bundle);
        AppNoContentFragmentProtocol appNoContentFragmentProtocol = (AppNoContentFragmentProtocol) ˆ();
        if (appNoContentFragmentProtocol != null && appNoContentFragmentProtocol.ˎ() != null) {
            this.ˏ = appNoContentFragmentProtocol.ˎ().ˋ();
            this.ॱ = appNoContentFragmentProtocol.ˎ().ˊ();
        }
    }

    public View ˋ(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        super.ˋ(layoutInflater, viewGroup, bundle);
        ViewGroup viewGroup2 = (ViewGroup) layoutInflater.inflate(h.ॱʻ, viewGroup, false);
        ImageView imageView = (ImageView) viewGroup2.findViewById(j.ᐝﹶ);
        ((TextView) viewGroup2.findViewById(j.ʿˋ)).setText(this.ˏ);
        imageView.setImageResource(this.ॱ);
        return viewGroup2;
    }
}
